import { Loginservice } from "@/utils/request.js";
import { getToken } from "@/utils/auth";
// 获取路由
export const getRouters = (data) => {
  return Loginservice({
    // url: "LoginBySystem/getRouters",
    url: '/LoginBySystem/getRouters2',
    method: "post",
    data, // 携带系统名称 SystemName
    headers: {
      isToken: true,
    },
  });
}